package com.shire.shire_interface.dao.marketing;

import com.shire.shire_interface.model.marketing.WxGroupKeywordItem;
import com.shire.shire_interface.model.marketing.WxGroupKeywordItemExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface WxGroupKeywordItemDao {
    long countByExample(WxGroupKeywordItemExample example);

    int deleteByExample(WxGroupKeywordItemExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxGroupKeywordItem record);

    int insertSelective(WxGroupKeywordItem record);

    List<WxGroupKeywordItem> selectByExample(WxGroupKeywordItemExample example);

    WxGroupKeywordItem selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxGroupKeywordItem record, @Param("example") WxGroupKeywordItemExample example);

    int updateByExample(@Param("record") WxGroupKeywordItem record, @Param("example") WxGroupKeywordItemExample example);

    int updateByPrimaryKeySelective(WxGroupKeywordItem record);

    int updateByPrimaryKey(WxGroupKeywordItem record);
}